package com.ruoyi.view.mapper;

import java.util.List;
import com.ruoyi.view.domain.WeatherPush;

/**
 * weather_pushMapper接口
 * 
 * @author ruoyi
 * @date 2023-04-11
 */
public interface WeatherPushMapper 
{
    /**
     * 查询weather_push
     * 
     * @param city weather_push主键
     * @return weather_push
     */
    public WeatherPush selectWeatherPushByCity(String city);

    /**
     * 查询weather_push列表
     * 
     * @param weatherPush weather_push
     * @return weather_push集合
     */
    public List<WeatherPush> selectWeatherPushList(WeatherPush weatherPush);

    /**
     * 新增weather_push
     * 
     * @param weatherPush weather_push
     * @return 结果
     */
    public int insertWeatherPush(WeatherPush weatherPush);

    /**
     * 修改weather_push
     * 
     * @param weatherPush weather_push
     * @return 结果
     */
    public int updateWeatherPush(WeatherPush weatherPush);

    /**
     * 删除weather_push
     * 
     * @param city weather_push主键
     * @return 结果
     */
    public int deleteWeatherPushByCity(String city);

    /**
     * 批量删除weather_push
     * 
     * @param citys 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWeatherPushByCitys(String[] citys);
}
